package com.vhall.component.entity.redpacket.vo;


import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 参加红包活动
 *
 * @author xianglei
 * @date 2021/3/2
 */
@Data
public class RedPacketJoinVO implements Serializable {
    private static final long serialVersionUID = 8614718122835708241L;

    /**
     * 红包唯一标识ID
     */
    @NotBlank(message = "red_packet_uuid参数不正确")
    @Size(min = 32, max = 32)
    @ParamName("red_packet_uuid")
    private String redPacketUuid;

    /**
     * 创建红包的第三方用户ID
     */
    @ParamName("third_party_user_id")
    private Integer userId;

    /**
     * 房间编号
     */
    @NotEmpty(message = "room_id参数不正确")
    @ParamName("room_id")
    private String roomId;

    private String extension;

    private String unlock;

}
